package com.example.dzbsh.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CaozuojiluExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CaozuojiluExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDeptidIsNull() {
            addCriterion("deptid is null");
            return (Criteria) this;
        }

        public Criteria andDeptidIsNotNull() {
            addCriterion("deptid is not null");
            return (Criteria) this;
        }

        public Criteria andDeptidEqualTo(String value) {
            addCriterion("deptid =", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidNotEqualTo(String value) {
            addCriterion("deptid <>", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidGreaterThan(String value) {
            addCriterion("deptid >", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidGreaterThanOrEqualTo(String value) {
            addCriterion("deptid >=", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidLessThan(String value) {
            addCriterion("deptid <", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidLessThanOrEqualTo(String value) {
            addCriterion("deptid <=", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidLike(String value) {
            addCriterion("deptid like", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidNotLike(String value) {
            addCriterion("deptid not like", value, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidIn(List<String> values) {
            addCriterion("deptid in", values, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidNotIn(List<String> values) {
            addCriterion("deptid not in", values, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidBetween(String value1, String value2) {
            addCriterion("deptid between", value1, value2, "deptid");
            return (Criteria) this;
        }

        public Criteria andDeptidNotBetween(String value1, String value2) {
            addCriterion("deptid not between", value1, value2, "deptid");
            return (Criteria) this;
        }

        public Criteria andLeixingIsNull() {
            addCriterion("leixing is null");
            return (Criteria) this;
        }

        public Criteria andLeixingIsNotNull() {
            addCriterion("leixing is not null");
            return (Criteria) this;
        }

        public Criteria andLeixingEqualTo(String value) {
            addCriterion("leixing =", value, "leixing");
            return (Criteria) this;
        }

        public Criteria andLeixingNotEqualTo(String value) {
            addCriterion("leixing <>", value, "leixing");
            return (Criteria) this;
        }

        public Criteria andLeixingGreaterThan(String value) {
            addCriterion("leixing >", value, "leixing");
            return (Criteria) this;
        }

        public Criteria andLeixingGreaterThanOrEqualTo(String value) {
            addCriterion("leixing >=", value, "leixing");
            return (Criteria) this;
        }

        public Criteria andLeixingLessThan(String value) {
            addCriterion("leixing <", value, "leixing");
            return (Criteria) this;
        }

        public Criteria andLeixingLessThanOrEqualTo(String value) {
            addCriterion("leixing <=", value, "leixing");
            return (Criteria) this;
        }

        public Criteria andLeixingLike(String value) {
            addCriterion("leixing like", value, "leixing");
            return (Criteria) this;
        }

        public Criteria andLeixingNotLike(String value) {
            addCriterion("leixing not like", value, "leixing");
            return (Criteria) this;
        }

        public Criteria andLeixingIn(List<String> values) {
            addCriterion("leixing in", values, "leixing");
            return (Criteria) this;
        }

        public Criteria andLeixingNotIn(List<String> values) {
            addCriterion("leixing not in", values, "leixing");
            return (Criteria) this;
        }

        public Criteria andLeixingBetween(String value1, String value2) {
            addCriterion("leixing between", value1, value2, "leixing");
            return (Criteria) this;
        }

        public Criteria andLeixingNotBetween(String value1, String value2) {
            addCriterion("leixing not between", value1, value2, "leixing");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberIsNull() {
            addCriterion("renyuannumber is null");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberIsNotNull() {
            addCriterion("renyuannumber is not null");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberEqualTo(Integer value) {
            addCriterion("renyuannumber =", value, "renyuannumber");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberNotEqualTo(Integer value) {
            addCriterion("renyuannumber <>", value, "renyuannumber");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberGreaterThan(Integer value) {
            addCriterion("renyuannumber >", value, "renyuannumber");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("renyuannumber >=", value, "renyuannumber");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberLessThan(Integer value) {
            addCriterion("renyuannumber <", value, "renyuannumber");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberLessThanOrEqualTo(Integer value) {
            addCriterion("renyuannumber <=", value, "renyuannumber");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberIn(List<Integer> values) {
            addCriterion("renyuannumber in", values, "renyuannumber");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberNotIn(List<Integer> values) {
            addCriterion("renyuannumber not in", values, "renyuannumber");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberBetween(Integer value1, Integer value2) {
            addCriterion("renyuannumber between", value1, value2, "renyuannumber");
            return (Criteria) this;
        }

        public Criteria andRenyuannumberNotBetween(Integer value1, Integer value2) {
            addCriterion("renyuannumber not between", value1, value2, "renyuannumber");
            return (Criteria) this;
        }

        public Criteria andJiashunumberIsNull() {
            addCriterion("jiashunumber is null");
            return (Criteria) this;
        }

        public Criteria andJiashunumberIsNotNull() {
            addCriterion("jiashunumber is not null");
            return (Criteria) this;
        }

        public Criteria andJiashunumberEqualTo(Integer value) {
            addCriterion("jiashunumber =", value, "jiashunumber");
            return (Criteria) this;
        }

        public Criteria andJiashunumberNotEqualTo(Integer value) {
            addCriterion("jiashunumber <>", value, "jiashunumber");
            return (Criteria) this;
        }

        public Criteria andJiashunumberGreaterThan(Integer value) {
            addCriterion("jiashunumber >", value, "jiashunumber");
            return (Criteria) this;
        }

        public Criteria andJiashunumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("jiashunumber >=", value, "jiashunumber");
            return (Criteria) this;
        }

        public Criteria andJiashunumberLessThan(Integer value) {
            addCriterion("jiashunumber <", value, "jiashunumber");
            return (Criteria) this;
        }

        public Criteria andJiashunumberLessThanOrEqualTo(Integer value) {
            addCriterion("jiashunumber <=", value, "jiashunumber");
            return (Criteria) this;
        }

        public Criteria andJiashunumberIn(List<Integer> values) {
            addCriterion("jiashunumber in", values, "jiashunumber");
            return (Criteria) this;
        }

        public Criteria andJiashunumberNotIn(List<Integer> values) {
            addCriterion("jiashunumber not in", values, "jiashunumber");
            return (Criteria) this;
        }

        public Criteria andJiashunumberBetween(Integer value1, Integer value2) {
            addCriterion("jiashunumber between", value1, value2, "jiashunumber");
            return (Criteria) this;
        }

        public Criteria andJiashunumberNotBetween(Integer value1, Integer value2) {
            addCriterion("jiashunumber not between", value1, value2, "jiashunumber");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberIsNull() {
            addCriterion("jingshangnumber is null");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberIsNotNull() {
            addCriterion("jingshangnumber is not null");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberEqualTo(Integer value) {
            addCriterion("jingshangnumber =", value, "jingshangnumber");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberNotEqualTo(Integer value) {
            addCriterion("jingshangnumber <>", value, "jingshangnumber");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberGreaterThan(Integer value) {
            addCriterion("jingshangnumber >", value, "jingshangnumber");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("jingshangnumber >=", value, "jingshangnumber");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberLessThan(Integer value) {
            addCriterion("jingshangnumber <", value, "jingshangnumber");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberLessThanOrEqualTo(Integer value) {
            addCriterion("jingshangnumber <=", value, "jingshangnumber");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberIn(List<Integer> values) {
            addCriterion("jingshangnumber in", values, "jingshangnumber");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberNotIn(List<Integer> values) {
            addCriterion("jingshangnumber not in", values, "jingshangnumber");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberBetween(Integer value1, Integer value2) {
            addCriterion("jingshangnumber between", value1, value2, "jingshangnumber");
            return (Criteria) this;
        }

        public Criteria andJingshangnumberNotBetween(Integer value1, Integer value2) {
            addCriterion("jingshangnumber not between", value1, value2, "jingshangnumber");
            return (Criteria) this;
        }

        public Criteria andChahenumberIsNull() {
            addCriterion("chahenumber is null");
            return (Criteria) this;
        }

        public Criteria andChahenumberIsNotNull() {
            addCriterion("chahenumber is not null");
            return (Criteria) this;
        }

        public Criteria andChahenumberEqualTo(Integer value) {
            addCriterion("chahenumber =", value, "chahenumber");
            return (Criteria) this;
        }

        public Criteria andChahenumberNotEqualTo(Integer value) {
            addCriterion("chahenumber <>", value, "chahenumber");
            return (Criteria) this;
        }

        public Criteria andChahenumberGreaterThan(Integer value) {
            addCriterion("chahenumber >", value, "chahenumber");
            return (Criteria) this;
        }

        public Criteria andChahenumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("chahenumber >=", value, "chahenumber");
            return (Criteria) this;
        }

        public Criteria andChahenumberLessThan(Integer value) {
            addCriterion("chahenumber <", value, "chahenumber");
            return (Criteria) this;
        }

        public Criteria andChahenumberLessThanOrEqualTo(Integer value) {
            addCriterion("chahenumber <=", value, "chahenumber");
            return (Criteria) this;
        }

        public Criteria andChahenumberIn(List<Integer> values) {
            addCriterion("chahenumber in", values, "chahenumber");
            return (Criteria) this;
        }

        public Criteria andChahenumberNotIn(List<Integer> values) {
            addCriterion("chahenumber not in", values, "chahenumber");
            return (Criteria) this;
        }

        public Criteria andChahenumberBetween(Integer value1, Integer value2) {
            addCriterion("chahenumber between", value1, value2, "chahenumber");
            return (Criteria) this;
        }

        public Criteria andChahenumberNotBetween(Integer value1, Integer value2) {
            addCriterion("chahenumber not between", value1, value2, "chahenumber");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberIsNull() {
            addCriterion("zhenbieumber is null");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberIsNotNull() {
            addCriterion("zhenbieumber is not null");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberEqualTo(Integer value) {
            addCriterion("zhenbieumber =", value, "zhenbieumber");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberNotEqualTo(Integer value) {
            addCriterion("zhenbieumber <>", value, "zhenbieumber");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberGreaterThan(Integer value) {
            addCriterion("zhenbieumber >", value, "zhenbieumber");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("zhenbieumber >=", value, "zhenbieumber");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberLessThan(Integer value) {
            addCriterion("zhenbieumber <", value, "zhenbieumber");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberLessThanOrEqualTo(Integer value) {
            addCriterion("zhenbieumber <=", value, "zhenbieumber");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberIn(List<Integer> values) {
            addCriterion("zhenbieumber in", values, "zhenbieumber");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberNotIn(List<Integer> values) {
            addCriterion("zhenbieumber not in", values, "zhenbieumber");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberBetween(Integer value1, Integer value2) {
            addCriterion("zhenbieumber between", value1, value2, "zhenbieumber");
            return (Criteria) this;
        }

        public Criteria andZhenbieumberNotBetween(Integer value1, Integer value2) {
            addCriterion("zhenbieumber not between", value1, value2, "zhenbieumber");
            return (Criteria) this;
        }

        public Criteria andGuifannumberIsNull() {
            addCriterion("guifannumber is null");
            return (Criteria) this;
        }

        public Criteria andGuifannumberIsNotNull() {
            addCriterion("guifannumber is not null");
            return (Criteria) this;
        }

        public Criteria andGuifannumberEqualTo(Integer value) {
            addCriterion("guifannumber =", value, "guifannumber");
            return (Criteria) this;
        }

        public Criteria andGuifannumberNotEqualTo(Integer value) {
            addCriterion("guifannumber <>", value, "guifannumber");
            return (Criteria) this;
        }

        public Criteria andGuifannumberGreaterThan(Integer value) {
            addCriterion("guifannumber >", value, "guifannumber");
            return (Criteria) this;
        }

        public Criteria andGuifannumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("guifannumber >=", value, "guifannumber");
            return (Criteria) this;
        }

        public Criteria andGuifannumberLessThan(Integer value) {
            addCriterion("guifannumber <", value, "guifannumber");
            return (Criteria) this;
        }

        public Criteria andGuifannumberLessThanOrEqualTo(Integer value) {
            addCriterion("guifannumber <=", value, "guifannumber");
            return (Criteria) this;
        }

        public Criteria andGuifannumberIn(List<Integer> values) {
            addCriterion("guifannumber in", values, "guifannumber");
            return (Criteria) this;
        }

        public Criteria andGuifannumberNotIn(List<Integer> values) {
            addCriterion("guifannumber not in", values, "guifannumber");
            return (Criteria) this;
        }

        public Criteria andGuifannumberBetween(Integer value1, Integer value2) {
            addCriterion("guifannumber between", value1, value2, "guifannumber");
            return (Criteria) this;
        }

        public Criteria andGuifannumberNotBetween(Integer value1, Integer value2) {
            addCriterion("guifannumber not between", value1, value2, "guifannumber");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updatetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updatetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updatetime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updatetime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updatetime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updatetime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updatetime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updatetime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updatetime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updatetime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updatetime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updatetime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}